function [width_chosen] = fgenerateRandomWidth()
    rng("shuffle")
    width_lb = 0.02; % unit in mm
    width_ub = 0.4; % unit in mm, too thick can cause funny geometry
    width_spacing = 0.003;
    width_choicepoints = floor((width_ub-width_lb)/width_spacing)+1;
    width_choices  = linspace(width_lb, width_ub,width_choicepoints);
    width_chosen = width_choices(randperm(width_choicepoints,1));
end

